﻿@model JustBlog.Core.Entities.Post

<div class="post">
    <div class="post-meta">
        <div class="row">
            <!-- Heading -->
            <div class="post-title">
                <h2>@Html.PostLink(Model)</h2>
            </div>
            <div class="share-links">
                @*@Html.Partial("_AddThis")*@
            </div>
        </div>
        <div class="row">
            <div class="post-category">
                <span>Category:&nbsp</span>@Html.CategoryLink(Model.Category)
            </div>
            <div class="post-tags">
                <span>Tags:</span>@Helpers.Tags(Html, Model.Tags)
            </div>
            <div class="no-of-comments">
                <a href="@string.Format("{0}#disqus_thread", Model.Href(Url))"></a>
            </div>
            <div class="posted-date">
                @Model.PostedOn.ToConfiguLocalTime()
            </div>
        </div>
    </div>
    <div class="post-body">
        @Html.Raw(Model.ShortDescription)
    </div>
    <div class="post-foot">
        @Html.ActionLink("Condinue...", "Post", "Blog",
        new
        {
            year = Model.PostedOn.Year,
            month = Model.PostedOn.Month,
            day = Model.PostedOn.Day,
            title = Model.UrlSlug
        }, 
        new { title = "Continue..." })
    </div>
</div>
